package com.leenmvc.core.dao.communal;

import java.util.Map;

/**
 * sql包装类公共接口规范（尤其规范BaseDbHandler类）
 */
public interface CommonWrapper {

    <T> T getCountWrapper();

    <T> T getCountWrapper(Class<?> cls);

    <T> T getQueryWrapper();

    <T> T getQueryWrapper(Class<?> cls);

    <T> T getUpdateWrapper(T t);

    <T> T getUpdateWrapper(Class<?> cls);

    <T> T getUpdateWrapper(Map<String, Object> params);

    <T> T getUpdateWrapper(Class<?> cls, Map<String, Object> params);

    <T> T getDeleteWrapper();

    <T> T getDeleteWrapper(Class<?> cls);

}
